package com.six.work.servicesImpl;

import com.six.work.entity.State;
import com.six.work.mapper.StateMapper;
import com.six.work.services.StateServices;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StateServicesImpl implements StateServices {
    @Autowired
    private StateMapper stateMapper;

    @Override
    public List<State> getState() {
        return stateMapper.getState();
    }

}
